<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Task extends Model
{
    //
    public function business()
    {
        return $this->belongsTo(Business::class, 'business_id');
    }

    public function department()
    {
        return $this->belongsTo(Department::class, 'department_id');
    }
}
